﻿<phone:PhoneApplicationPage
    x:Class="jbgswin.liuliang"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot 是包含所有页面内容的根网格-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel 包含应用程序的名称和页标题-->
        <StackPanel Grid.Row="0" Margin="12,17,0,28">
            <TextBlock Text="数据流量设置" Style="{StaticResource PhoneTextNormalStyle}"/>
        </StackPanel>

        <!--ContentPanel - 在此处放置其他内容-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
        	<Grid.RowDefinitions>
        		<RowDefinition Height="Auto" MinHeight="84"/>
        		<RowDefinition Height="Auto"/>
        		<RowDefinition Height="Auto"/>
        		<RowDefinition Height="Auto"/>
        		<RowDefinition Height="Auto"/>
        	</Grid.RowDefinitions>
        	<Grid.ColumnDefinitions>
        		<ColumnDefinition Width="Auto"/>
        		<ColumnDefinition Width="Auto"/>
        	</Grid.ColumnDefinitions>
        	<TextBlock TextWrapping="Wrap" Text="最大下载数据条数" HorizontalAlignment="Left" Width="181" Grid.ColumnSpan="2" Margin="-3,10,0,95" VerticalAlignment="Center"/>
        	<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" VerticalAlignment="Center" Text="{Binding Value, ElementName=slider}" Grid.ColumnSpan="2" Margin="0,53,0,52" Width="166"/>
        	<Slider x:Name="slider" HorizontalAlignment="Left" Margin="173.5,0,-275,47" Width="280" Grid.Column="1" LargeChange="100" Maximum="200" Minimum="50" SmallChange="50"/>
        	<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="最大上传条数" VerticalAlignment="Center" Grid.Row="4" Grid.Column="1" Width="169" Margin="10,10,0,-37"/>
        	<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="{Binding Value, ElementName=slider1}" VerticalAlignment="Center" Grid.Row="4" Grid.Column="1" RenderTransformOrigin="1.019,2.536" Margin="10,51,0,-51"/>
        	<Slider x:Name="slider1" Margin="179,0,-277,-82" Grid.Row="1" Grid.Column="1" Grid.RowSpan="4" SmallChange="50" LargeChange="100" Maximum="200" Minimum="50"/>

        </Grid>
    </Grid>

</phone:PhoneApplicationPage>